package com.life.wd.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DashboardMapper {
    @Select("select count(id) from videos;")
    int getVideoTotal();

    @Select("select count(id) from user;")
    int getUserTotal();
    @Select("select count(id) from orders;")
    int getOrderTotal();
    @Select("select count(id) from report;")
    int getReportTotal();
}
